package com.sky.ok.okex.common;

import java.util.Arrays;
import java.util.List;

/**
 * @author 余心乐sky
 * @create 2019-01-31 8:30
 **/
public class OKV3Const {

    //websocketV3地址
    public static final String WEBSOCKET_ADRESS_V3 = "wss://real.okex.com:10442/ws/v3";

    //是否使用代理
    public static final boolean USE_PROXY = true;

    //代理地址
    public static final String PROXY_HOST = "127.0.0.1";

    //代理端口
    public static final int PROXY_PORT = 1080;

    //BTC-USD
    public static final String BTC = "BTC-USD-";

    //EOS-USD
    public static final String EOS = "EOS-USD-";

    //btc指数
    public static final String FUTURE_BTC_INDEX = "index/ticker:BTC-USD";

    //eos指数
    public static final String FUTURE_EOS_INDEX = "index/ticker:EOS-USD";

    //指数集合
    public static final List<String> INDEX_LIST = Arrays.asList(
            "\"" +FUTURE_BTC_INDEX+ "\"",
            "\"" +FUTURE_EOS_INDEX+ "\""
    );

}
